import { reactive, ref } from "vue";

export default function InitHook() {
  const formState = reactive<{ billingWaybillNum: string; waybillNumList: Array<string> }>({
    waybillNumList: [],
    billingWaybillNum: ""
  });
  //

  //等待状态
  const loading = ref<boolean>(false);

  const changeType = ref<number>(1);

  //表单ref
  const formRef = ref(null);
  return {
    formState,
    loading,
    formRef,
    changeType
  };
}
